package com.example.ymm.modules1.entity.my.sys;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 平台端登录账号实体
 */

@Data
public class SysUser implements Serializable {

    @TableId
    private String sysUserId;

    @ApiModelProperty(value = "登录名")
    private String userName;

    private String passWord;


    String roleValue;//角色值

    @ApiModelProperty(value = "姓名")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "状态,0正常,1冻结")
    private Integer state;

    @ApiModelProperty(value = "是否删除：0->未删；1->已删")
    private Integer isDelete;

    @TableField(fill= FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;



}
